A speed-up for the commute between subword trees and DAWGs

نویسندگان

  • Alberto Apostolico
  • Stefano Lonardi
چکیده

A popular way to describe and build the DAWG or Directed Acyclic Word Graph of a string is by transformation of the corresponding subword tree. This transformation, which is not difficult to reverse, is easy to grasp and almost trivial to implement except for the assumed implication of a standard tree isomorphism algorithm. Here we point out a simple property of subword trees that makes checking tree isomorphism in this context a straightforward process, thereby simplifying the transformation significantly. Subword trees and DAWGs arise rather ubiquitously in applications of string processing, where they often play complementary roles. Efficient conversions are thus especially desirable.  2001 Elsevier Science B.V. All rights reserved.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Structure of Subword Graphs and Suffix Trees of Fibonacci Words

We use automata-theoretic approach to analyze properties of Fibonacci words. The directed acyclic subword graph (dawg) is a useful deterministic automaton accepting all suffixes of the word. We show that dawg’s of Fibonacci words have particularly simple structure. Our main result is a unifying framework for a large collection of relatively simple properties of Fibonacci words. The simple struc...

متن کامل

Ternary Directed Acyclic Word Graphs

Given a set S of strings, a DFA accepting S offers a very time-efficient solution to the pattern matching problem over S. The key is how to implement such a DFA in the trade-off between time and space, and especially the choice of how to implement the transitions of each state is critical. Bentley and Sedgewick proposed an effective tree structure called ternary trees. The idea of ternary trees...

متن کامل

Some properties of a class of polyhedral semigroups based upon the subword reversing method

In this paper a certain class of polyhedral semigroups which has a presentation $$ is examined‎. ‎The completeness of the presentation and solvability of word problem of this class of semigroups is determined‎. ‎Moreover the combinatorial distance between two words is determined‎.

متن کامل

The Myriad Virtues of Subword Trees

Several nontrivial applications of subword trees have been developed since their first appearance. Some stich applications depart considerably from the original motivations. A brief account of them is attempted here. INTRODUcnON Subword trees fit in the general subject of digitaEearch indexes [KNj. In fact their earliest conception is somewhat implicit in Morrison"s 'PATRICIA' tries [MOl. Sever...

متن کامل

A Fast , Cache - Aware Algorithmfor the Calculation of Radiological PathsExploiting Subword

The calculation of radiological paths is the most important part in statistical positron emission tomography image reconstruction algorithms. We present a new, faster algorithm which replaces Siddon's. Further code transformations on this algorithm prove to be beneecial in a Maximum Likelihood-Expectation Maximization reconstruction algorithm and the result is perfectly suitable for an implemen...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Inf. Process. Lett.

دوره 83  شماره 

صفحات  -

تاریخ انتشار 2002